<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Payment Process</title><link href="../include/css/fal_style.css" rel="stylesheet" type="text/css" /><script src="../include/js/jquery.js" type="text/javascript"></script><script src="../include/js/flash.js" type="text/javascript"></script><script src="../include/js/jquery-1.2.6.min.js" type="text/javascript"></script></head>

    <?php
    /*
     * This is payment gateway for salusbaby....
     */
    session_start();
    $paypal_page = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
    $seller_id = 'sjk.fr_1346599808_biz@gmail.com';
    $amount = $_POST['purchase'];
    $_SESSION['amount'] = $amount;
    $return_address = 'http://'.$_SERVER['HTTP_HOST'].'/salusbaby/up/success.php';
    $return_cancle = 'http://'.$_SERVER['HTTP_HOST'].'/salusbaby/up/cancle.php';
    ?>

    <body>
        <div id="wrapper">
            <div id="header01" ></div>
            <center>
                <b>Welcome <?= $_SESSION['user_name'] ?>....!!!</b><br/><br/><br/><br/>

                <form action=<?= $paypal_page ?> method="post" >
                    <input type= "hidden" name="cmd" value = "_xclick" />
                    <input type="hidden" name="business" value="<?= $seller_id ?>" />
                    <input type="hidden" name="item_name" value="SalusBaby" />
                    <input type="hidden" name="item_number" value="2" />
                    <input type="hidden" name="amount" value="<?= $amount ?>" />
                    <input type="hidden" name="no_shipping" value="1" />
                    <input type="hidden" name="no_note" value="1" />
                    <input type="hidden" name="currency_code" value="USD" />
                    <input type="hidden" name="bn" value="PP-BuyNowBF" />
                    <input type='hidden' name='cancel_return' value="<?= $return_cancle ?>" />
                    <input type='hidden' name='return' value="<?= $return_address ?>" />
                    <input type="image" src="https://paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" name="submit" />
                </form>

                <br/><br/><br/>
            </center>
                
                <div style="width: 350px; margin-left: 350px;" >
                    <b>Note : </b>Read carefully
                <ol>
                    <li>Click on "Buy Now" for payment. or <a href="http://<?= $_SERVER['HTTP_HOST'] ?>/salusbaby"> cancle </a></li>
                    <li><font color="red" >Click on this shown example link after successful payment without forget...</font></li>
                </ol>
                </div>
            <center>
                <img src="thankx_paypal.png"  style="border: 1px black solid; " />
            </center>
        </div>
    </body>
</html>